﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BellAssistant.Model.Tables
{
    public class ProductCategory:CDataContext.CEntity
    {
        /// <summary>
        /// 类别ID
        /// </summary>
        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = false, Att_ISPrimary = true, Att_AutoIncrement = true)]
        public int ProductID { get; set; }

        /// <summary>
        /// 类别名称
        /// </summary>

        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]

        public string CategoryName { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>

        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]
        public bool Status { get; set; }


        /// <summary>
        /// 状态含义
        /// </summary>

        [CDataContext.CAttribute.DataColumnAttirbute(Att_AlowNULL = true)]

        public string StatusMean { get; set; }
        
    }
}
